package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialInterruptAttachmentRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialInterruptAttachmentPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialInterruptAttachmentDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialInterruptAttachmentDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialInterruptAttachmentDomainImpl extends BaseDomainImpl<ContractInitialInterruptAttachmentDto, ContractInitialInterruptAttachmentPo> implements ContractInitialInterruptAttachmentDomain {

    @Resource
    private ContractInitialInterruptAttachmentRepository contractInitialInterruptAttachmentRepository;

    @Override
    public BaseRepository<ContractInitialInterruptAttachmentPo> getMapper() {
        return contractInitialInterruptAttachmentRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialInterruptAttachmentPo>> getRepositoryClass() {
        return ContractInitialInterruptAttachmentRepository.class;
    }

}
